<?php
/**
 * Created by PhpStorm.
 * User: xaq
 * Date: 2017/8/1
 * Time: 15:04
 */

return [
    //秒签速递
    'app_id' => 'wx1cc25e7a154652ec',
    'app_secret' => 'a9c4d8a5295f224f0754e8cec7f53d2e',
    //商户id
    'mch_id' => '1445193002',
    //支付的签名(在商户平台API安全按钮中获取)
    'makesign' => 'a1b2c3d44rjdki89765tgfe45tgv8888',
    // 微信使用code换取用户openid及session_key的url地址
    'login_url' => "https://api.weixin.qq.com/sns/jscode2session?".
        "appid=%s&secret=%s&js_code=%s&grant_type=authorization_code",

    // 微信获取access_token的url地址
    'access_token_url' => "https://api.weixin.qq.com/cgi-bin/token?" .
        "grant_type=client_credential&appid=%s&secret=%s",
    //调用微信接口的通用url
    'baseUrl' => 'https://api.weixin.qq.com/cgi-bin'
];